python execute file

35

os.system('python my_file.py')
exec(open('file.py').read())

Comments

Submit
0 Comments